package com.atguigu.kafka.flink.model;

import java.time.LocalDate;
import java.time.LocalDateTime;

public class Person {
    private String name;
    private int age;
    private String sex;

    private int money;
    private LocalDateTime datetime;

    public Person(String name, int age, String sex, int money, LocalDateTime datetime) {
        this.name = name;
        this.age = age;
        this.sex = sex;
        this.money = money;
        this.datetime = datetime;
    }

    public LocalDateTime getDatetime() {
        return datetime;
    }

    public void setDatetime(LocalDateTime datetime) {
        this.datetime = datetime;
    }

    public int getMoney() {
        return money;
    }

    public void setMoney(int money) {
        this.money = money;
    }


    public Person() {

    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    @Override
    public String toString() {
        return "Person{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", sex='" + sex + '\'' +
                ", money=" + money +
                '}';
    }
}
